<?php
class MallAction extends BaseAction {
	public function index(){
	}

	public function item(){
		$id = $this->_get('id','intval');
		$mall = D('Mall')->funCacheData('getOne', 'mall-'.$id, array($id));
		//获取楼层
		$floors = D('Floor')->funCacheData('getList', 'mall-floor-'.$id, array($id));
		
		$this->assign('floors', $floors);
		$this->assign('mall', $mall);
		$this->display();
	}
}